Correct (mostly hypothetical) use-before-initted in pcx reader.
authorrobertl <robertl@f51c46e8-681c-474f-0cfe-069cfd0219fb>
Thu, 6 Sep 2007 04:36:54 +0000 (04:36 +0000)
committerrobertl <robertl@f51c46e8-681c-474f-0cfe-069cfd0219fb>
Thu, 6 Sep 2007 04:36:54 +0000 (04:36 +0000)
git-svn-id: http://gpsbabel.googlecode.com/svn/trunk@2990 f51c46e8-681c-474f-0cfe-069cfd0219fb

gpsbabel/pcx.c

index 5c479282f47532fbe4653513b4fe5cb4e1c4bf0a..6b94da33527977cacf3341d0ff9f2f41cd980900 100644 (file)
@@ -82,7 +82,7 @@ static void
 data_read(void)
 {
        char name[7], desc[41];
-       double lat,lon;
+       double lat = 0, lon = 0;:
        long alt; 
        int symnum;
        char date[10];